﻿using System;
using System.Xml.Serialization;

namespace ElectronicCommerce.Framework.Web.Configuration.ImageSize
{
    /// <summary>
    /// Image Size Item Group
    /// </summary>
    [Serializable]
    public class ImageSizeItemGroup
    {
        public ImageSizeItemGroup()
        {
            this.ImageSizeItems = new ImageSizeItemCollection();
        }

        /// <summary>
        /// 名称
        /// </summary>
        [XmlAttribute("name")]
        public string Name { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [XmlElement("imageSize")]
        public ImageSizeItemCollection ImageSizeItems { get; set; }
    }
}
